<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<c:import url="/jsp/pager/pagerForm.jsp"></c:import>

<form method="post" rel="pagerForm" action="<c:url value='/showDriverLookup'/>"
	onsubmit="return dwzSearch(this, 'dialog');">
	<div class="pageHeader">
		<div class="searchBar">
			<ul class="searchContent">
				<li><label>关键词：</label> <input type="text" name="keywords" value="${param.keywords}" /></li>
			</ul>
			<div class="subBar">
				<ul>
					<li>
						<div class="buttonActive">
							<div class="buttonContent">
								<button type="submit">搜索</button>
							</div>
						</div>
					</li>
				</ul>
			</div>
		</div>
	</div>
</form>

<div class="pageContent">

	<table class="list" width="100%" targetType="navTab" asc="asc" desc="desc" layoutH="116">
		<thead>
			<tr>
				<th width="30%">序号</th>
				<th width="30%" orderField="driver" class="${pageHelper.orderField eq 'driver' ? param.orderDirection : ''}">司机姓名</th>
				<th width="30%" orderField="driverPhone" class="${pageHelper.orderField eq 'driverPhone' ? param.orderDirection : ''}">电话</th>
				<th width="10%">查找带回</th>
			</tr>
		</thead>
		<tbody>
			<c:forEach var="item" items="${driverList}" varStatus="s">
				<tr target="slt_objId" rel="${item.id }">
					<td>${s.index + 1}</td>
					<td>${item.driver}</td>
					<td>${item.driverPhone}</td>
					<td><a class="btnSelect" href="javascript:$.bringBack({driver:'${item.driver}', driverPhone:'${item.driverPhone}'})" title="查找带回">选择</a></td>
				</tr>
			</c:forEach>
		</tbody>
	</table>

	<c:import url="/jsp/pager/panelBar.jsp"></c:import>

</div>
